//
//  ViewController.m
//  UI_21_SDWebImage
//
//  Created by li cheng on 16/8/12.
//  Copyright © 2016年 li cheng. All rights reserved.
//

#import "ViewController.h"
#import "UIImageView+WebCache.h"
@interface ViewController ()
@property (weak, nonatomic) IBOutlet UIImageView *myImageView;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    [_myImageView sd_setImageWithURL:[NSURL URLWithString:@"http://www.liatui.com/uploads/allimg/160803/11501WU9-1.jpg"] placeholderImage:[UIImage imageNamed:@"0.jpg"] options:SDWebImageProgressiveDownload];
    NSLog(@"%@", NSHomeDirectory());
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
